package com.gao.api.gate.quick.proto.filter;

import com.gao.api.gate.quick.proto.http.HttpRequestContext;

/**
 * <p></p>
 *
 * @author gaoshuangwen
 * @since 2022/01/07 14:07
 */
public interface SupportFilter {

   default boolean should(HttpRequestContext context){
       return true;
   }

    default int order() {
        return 0;
    }

    default boolean sync(){
        return true;
    }

    /**
     * 禁用filter
     * @return
     */
    boolean disable();


}
